home *** CD-ROM | disk | FTP | other *** search
Wrap
<%@ Language=VBScript CODEPAGE=65001 %> <!--#include file="include/wmsLocStrings.inc"--> <!--#include file="include/wmsServerHash.inc"--> <!--#include file="include/wmsPlugins.inc"--> <!--#include file="include/wmsHeader.inc"--> <!--#include file="include/wmsPageBanner.inc"--> <!--#include file="include/wmsTabs.inc"--> <!--#include file="include/wmsError.inc"--> <!--#include file="include/wmsToolbar.inc"--> <% '+------------------------------------------------------------------------- ' ' Microsoft Windows Media ' Copyright (C) Microsoft Corporation. All rights reserved. ' ' File: Cache_GetStarted.asp ' ' Contents: ' '-------------------------------------------------------------------------- BeginErrorHandling ConnectToServer if( WMS_SERVICE_STARTED <> g_dwConnectionFailureCode ) then Response.Redirect( "include/server_stopped.asp?server=" & RemoveDangerousCharacters( qs("server") ) ) end if Dim bCacheEnabled ' Connect to the proxy plug-in, if it exists, and determine if it's enabled set g_objPluginCollection = g_objServer.CacheProxy if( FALSE = IsEmpty( g_objPluginCollection ) ) then g_dwPluginCount = g_objPluginCollection.Count else g_dwPluginCount = 0 end if bCacheEnabled = FALSE if( 0 < g_dwPluginCount ) then for i = 0 to g_dwPluginCount - 1 Set eachPlugin = g_objPluginCollection(i) if( 0 <> ( WMS_PLUGIN_ENABLED and eachPlugin.status ) ) then bCacheEnabled = TRUE exit for end if next end if WriteHTMLHeader( g_strServerName ) %> <script language="JavaScript" src="include/WMSCommon.js"></script> <script language="JavaScript"> <!-- <% if brMSIE <> g_dwBrowserType then %> /////////////////////////////////////////////////////////////////////// function HandleRClick( event ) { event.cancelBubble = true; event.returnValue = false; return( false ); } document.onmousedown=HandleRClick; document.onmouseup=HandleRClick; document.oncontextmenu=HandleRClick; window.onmousedown=HandleRClick; window.onmouseup=HandleRClick; window.oncontextmenu=HandleRClick; <% end if %> <% WriteCommonJSUtils %> --> </script> <% if brMSIE = g_dwBrowserType then %> <script language="JavaScript" event="oncontextmenu" for=document> event.cancelBubble=true; return false; </script> <% end if %> <link rel="stylesheet" type="text/css" href="<%= Session( "cssName" ) %>"> </head> <body topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" oncontextmenu="JavaScript:event.cancelBubble=true;return false;"> <table valign="top" width="100%" height="85" cellspacing="0" cellpadding="0" border="0" class="bannerName" <% if brMSIE <> g_dwBrowserType then %>bgproperties="fixed" bgcolor="#FFFFFF" background="img/gradient_tabview.png"<% end if %> <% DisableContextMenu %>> <% if brMSIE = g_dwBrowserType then %><img height="85" width="100%" src="img/gradient_tabview.png" style="position:absolute;top=0;left=0;z-index=-1"><% end if %> <tr> <td> <table valign="top" width="100%" hspace="0" vspace="0" cellspacing="4" cellpadding="1" border="0" style="border-collapse:collapse" margin-top="0" margin-bottom="0"> <tr> <td width="4"> </td> <td valign="middle" align="left" width="32"> <img src="img/cacheproxy_32.gif" border="0" height="32" width="32"> </td> <td width="4"> </td> <td align="left" width="100%"> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <% 'server name %> <td valign="bottom" align="left"> <span class="bannerName"> <%= Server.HTMLEncode( L_CACHEPXMGMT_TEXT ) %> </span> </td> <td valign="top" align="right"> </td> </tr> <tr> <td> <% if bCacheEnabled then Response.Write( Server.HTMLEncode( L_CACHESUPPORTON_TEXT ) ) else Response.Write( Server.HTMLEncode( L_CACHESUPPORTOFF_TEXT ) ) end if %> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr valign="bottom"> <td> <table width=100% valign="top" cellspacing="0" cellpadding="0" border=0> <tr> <td> <% DrawCacheProxyTabs L_GETSTARTEDTABTITLE_TEXT %> </td> <% if( FALSE = g_bSecureConnection ) then %> <script language="JavaScript"> ShowHideSecureWarning( "img/not_secure_32.gif" ); </script><% end if %> </tr> </table> </td> </tr> </table> <p> <table width=100% cellspacing="0" cellpadding=4 border="0" > <tr> <td class="helptext"> <%= Server.HTMLEncode( L_CACHEHELP_TEXT ) %> </td> </tr> <tr> <td> <table cellpadding="0" cellspacing="0" border=1 width="100%"><tr><td> <table cellpadding=2 cellspacing="0" border="0" width="100%"> <tr height="3px"> <td height="3px"> </td> </tr> <tr> <td colspan=3> <span class="helptext"><%= Server.HTMLEncode( L_CACHEPARTHDR_TEXT ) %></span> </td> </tr> <tr> <td colspan=2> <table cellpadding=2 cellspacing=2 border="0" class="propgroupbox" width="100%"> <tr> <td class="helptext" colspan=2> <%= Server.HTMLEncode( L_CACHEPART_TEXT ) %> </td> </tr> <tr> <td> </td> <td valign="middle"> <img align="left" valign="middle" src="img/web_resources.gif" height="32" width="32" alt="<%= Server.HTMLEncode( L_WMSLINK_TEXT ) %>"><a tabIndex=<%= dwTabIndex %> <% dwTabIndex = dwTabIndex + 1 %> align="left" valign="middle" target="_partners" oncontextmenu="JavaScript:event.cancelBubble=true;return false;" href="<%= L_CACHEPARTLINKURL_TEXT %>"><b><%= Server.HTMLEncode( L_WMSLINK_TEXT ) %></b></a> </td> </tr> </table> </td> </tr> </table> </td></tr></table> </td> </tr> <tr> <td> <span class="helptext"><%= "<b>" & Server.HTMLEncode( L_PROXYBCAST_TEXT ) & "</b>" %></span> </td> </tr> <tr> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td> <table cellpadding="0" cellspacing="0" border="0" class="propgroupbox" width="100%"> <tr> <td class="helptext"> <%= Server.HTMLEncode( L_PROXYBCASTHELP_TEXT ) %> </textarea> </td> </tr> </table> </td></tr></table> </td> </tr> <tr> <td> <span class="helptext"><%= "<b>" & Server.HTMLEncode( L_CACHEOD_TEXT ) & "</b>" %></span> </td> </tr> <tr> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td> <table cellpadding="0" cellspacing="0" border="0" class="propgroupbox" width="100%"> <tr> <td class="helptext"> <%= Server.HTMLEncode( L_CACHEODHELP_TEXT ) %> </td> </tr> </table> </td></tr></table> </td> </tr> <tr> <td> <% dwLastToolbarIndex = 0 if( Session( "ShowServerList" ) ) then ToolbarButtonText ( dwLastToolbarIndex ) = L_BUTTONRETURNTOSERVERLIST_TEXT ToolbarButtonImage( dwLastToolbarIndex ) = IMAGE_SERVERLIST ToolbarButtonLink ( dwLastToolbarIndex ) = SERVERSLIST_PATH ToolbarButtonAltText( dwLastToolbarIndex ) = L_RETURNTOSL_TEXT dwLastToolbarIndex = dwLastToolbarIndex + 1 end if ToolbarButtonText ( dwLastToolbarIndex ) = L_BUTTONHELP_TEXT ToolbarButtonImage( dwLastToolbarIndex ) = IMAGE_HELP ToolbarButtonLink ( dwLastToolbarIndex ) = HELPTOKEN ToolbarButtonAltText( dwLastToolbarIndex ) = L_HELPALT_TEXT ToolbarHelpURL = H_SERVERCPHELPTOPIC ToolbarNesting = H_SERVERLEVEL %> <% DrawToolbar TRUE, ( dwLastToolbarIndex + 1 ) %> </td> </tr> </table> <% DrawCopyrightInfo AlertUserWithPopupErrorDialog OnErrorGoBack if brMSIE = g_dwBrowserType then %> <script language="JavaScript"> <!-- /*@cc_on @*/ function HilightCurrentNode() { <% jsTRY %> var childFrame; childFrame = parent.frames && parent.frames[ "treeFrames" ]; if( childFrame ) { childFrame = window.parent.frames[ "treeFrames" ].frames[ "frameTreeCode" ]; } if( childFrame ) { childFrame.SetSelectedNode( "cache" ); } <% jsCATCH %> } HilightCurrentNode(); --> </script> <% end if %> </body> </html> <% LatchCurrentPage "cache_getstarted.asp", qs EndErrorHandling "cache_getstarted.asp" on error resume next PluginsASPCleanup %>